﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DAO;
using DTO;

namespace BUS
{
    public class CT_DonDH_NguyenVatLieuBUS
    {
        CT_DonDH_NguyenVatLieuDAO ctddhnvlDAO = new CT_DonDH_NguyenVatLieuDAO();

        public List<CT_DonDH_NguyenVatLieuDTO> LayDanhSachDonDH_NguyenVatLieuTheoMa(int ma)
        {
            return ctddhnvlDAO.LayDanhSachDonDH_NguyenVatLieuTheoMa(ma);
        }

        public String ThemChiTietDonDH_NguyenVatLieu(CT_DonDH_NguyenVatLieuDTO ctddhnvlDTO)
        {
            return ctddhnvlDAO.ThemChiTietDonDH_NguyenVatLieu(ctddhnvlDTO);
        }
    }
}
